package models

type SysMenu struct {
	SysBaseMenu
	MenuId      int                     `json:"menuId" gorm:"comment:菜单ID"`
	AuthorityId string                  `json:"-" gorm:"comment:角色ID"`
	Children    []SysMenu               `json:"children" gorm:"-"`
	Parameters  []SysBaseMenuParameters `json:"parameters" gorm:"-"`
}

func (s SysMenu) TableName() string {
	return "authority_menu"
}
